package com.chx.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author cp-月入过万
 * @Date 2025/5/29
 * 角色权限关联
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RolePermissions implements Serializable {
    private static final long serialVersionUID = 1L;

    //  主键，自增
    private Long id;

    //  角色id，外键关联角色表
    private Long roleId;

    //  权限id，外键关联权限表
    private Long permissionId;
}
